<?php
/*
	Advansed MaNGOS Statistic(AMS)
	-------------------------------------------
	Author: DeusModus
	getmangos.ru
	Version: 1.1
*/
require_once("config.php");
$dat=date((IMAGE_DATE_TYPE));
IF(IMAGE_SAVE==true) {
	IF(IMAGE_PAGE_AS_NAME==true){
		$c->makeChart("".IMAGE_PATH."".$dat."".IMAGE_SEPARATOR."".$pagename."".IMAGE_SEPARATOR."".$selectedRealm.".".IMAGE_TYPE."");
	}
	ELSE {$c->makeChart("".IMAGE_PATH."".$dat."".IMAGE_SEPARATOR."".IMAGE_CUSTOM_NAME."".IMAGE_SEPARATOR."".$selectedRealm.".".IMAGE_TYPE."");
	}
		};
?>